package com.ynny.Zuoye;

public class Circle {
    public double r;

    public Circle(){
        r = 1;
    }

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public double findArea(){

        double s = 3.14 * r * r;

        return s;
    }
}
